/*
 * Copyright (C) 2012 www.aboboo.com
 * 
 */
package com.aboboo.android.json;

/**
 * http请求返回的课件信息
 * 
 * @author Fangpeng
 * 
 * @version 1.0 2012-8-21
 */
public final class JsonCourseware {
	// 封装课件信息
	// 更新时间
	private String modified;

	private String uhash;

	private int id;

	private String name;

	private String url;

	private String img_url;

	private String last_revision;

	private String download_url;

	private int lessonnum;

	private String class1;

	private String class2;

	private int filesize;

	public JsonCourseware(String modified, String uhash, int id, String name,
			String url, String img_url, String last_revision,
			String download_url, int lessonnum, String class1, String class2,
			int filesize) {
		super();
		this.modified = modified;
		this.uhash = uhash;
		this.id = id;
		this.name = name;
		this.url = url;
		this.img_url = img_url;
		this.last_revision = last_revision;
		this.download_url = download_url;
		this.lessonnum = lessonnum;
		this.class1 = class1;
		this.class2 = class2;
		this.filesize = filesize;
	}

	public String getModified() {
		return modified;
	}

	public void setModified(String modified) {
		this.modified = modified;
	}

	public String getUhash() {
		return uhash;
	}

	public void setUhash(String uhash) {
		this.uhash = uhash;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImg_url() {
		return img_url;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	public String getLast_revision() {
		return last_revision;
	}

	public void setLast_revision(String last_revision) {
		this.last_revision = last_revision;
	}

	public String getDownload_url() {
		return download_url;
	}

	public void setDownload_url(String download_url) {
		this.download_url = download_url;
	}

	public int getLessonnum() {
		return lessonnum;
	}

	public void setLessonnum(int lessonnum) {
		this.lessonnum = lessonnum;
	}

	public String getClass1() {
		return class1;
	}

	public void setClass1(String class1) {
		this.class1 = class1;
	}

	public String getClass2() {
		return class2;
	}

	public void setClass2(String class2) {
		this.class2 = class2;
	}

	public int getFilesize() {
		return filesize;
	}

	public void setFilesize(int filesize) {
		this.filesize = filesize;
	}

	@Override
	public String toString() {
		return "JsonCourseware [uhash=" + uhash + ", id=" + id + ", name="
				+ name + ", url=" + url + ", download_url=" + download_url
				+ ", lessonnum=" + lessonnum + ", class1=" + class1
				+ ", class2=" + class2 + "]";
	}

}
